package com.neutech.shop.entity;

import java.text.DateFormat;
import java.text.SimpleDateFormat;
import java.util.Date;

/**
 * @author Neuedu-远哥
 * @version 1.0
 * @date 2021/10/22 8:41
 */
public class Direction {
    public static void main(String[] args) {
        new Direction().aa();
    }

    public void aa(){
        Date now = new Date();
        System.out.println(now);
        DateFormat df =  new SimpleDateFormat("yyyy年MM月dd日 HH:mm:ss.SSS");
        String str = df.format(now);
        System.out.println(str);
    }
}
